package com.qianfeng.mapper;

import com.qianfeng.pojo.MenuExample;
import com.qianfeng.pojo.SysMenu;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
/*
 *@Description:
 *@author:刘哥
 *@Date:86180 2022/9/16 16:24
 */
@Repository
public interface MenuMapper {
    long countByExample(MenuExample example);

    int deleteByExample(MenuExample example);

    int deleteByPrimaryKey(Long menuId);

    int insert(SysMenu record);

    int insertSelective(SysMenu record);

    List<SysMenu> selectByExample(MenuExample example);

    SysMenu selectByPrimaryKey(Long menuId);

    int updateByExampleSelective(@Param("record") SysMenu record, @Param("example") MenuExample example);

    int updateByExample(@Param("record") SysMenu record, @Param("example") MenuExample example);

    int updateByPrimaryKeySelective(SysMenu record);

    int updateByPrimaryKey(SysMenu record);
}